package com.hkts.naturalgas.datainterface.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2020-07-28
 */
public class HontLog extends Model<HontLog> {

private static final long serialVersionUID=1L;

                            private String id;
        private Integer costTime;
        private String ip;
        private String ipInfo;
        private Integer logType;
        private String name;
        private String requestParam;
        private String requestType;
        private String requestUrl;
        private String username;
        private LocalDateTime createTime;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public Integer getCostTime(){
            return costTime;
            }

        public void setCostTime(Integer costTime) {
            this.costTime = costTime;
            }

    public String getIp(){
            return ip;
            }

        public void setIp(String ip) {
            this.ip = ip;
            }

    public String getIpInfo(){
            return ipInfo;
            }

        public void setIpInfo(String ipInfo) {
            this.ipInfo = ipInfo;
            }

    public Integer getLogType(){
            return logType;
            }

        public void setLogType(Integer logType) {
            this.logType = logType;
            }

    public String getName(){
            return name;
            }

        public void setName(String name) {
            this.name = name;
            }

    public String getRequestParam(){
            return requestParam;
            }

        public void setRequestParam(String requestParam) {
            this.requestParam = requestParam;
            }

    public String getRequestType(){
            return requestType;
            }

        public void setRequestType(String requestType) {
            this.requestType = requestType;
            }

    public String getRequestUrl(){
            return requestUrl;
            }

        public void setRequestUrl(String requestUrl) {
            this.requestUrl = requestUrl;
            }

    public String getUsername(){
            return username;
            }

        public void setUsername(String username) {
            this.username = username;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public static final String ID ="id";

    public static final String COST_TIME ="cost_time";

    public static final String IP ="ip";

    public static final String IP_INFO ="ip_info";

    public static final String LOG_TYPE ="log_type";

    public static final String NAME ="name";

    public static final String REQUEST_PARAM ="request_param";

    public static final String REQUEST_TYPE ="request_type";

    public static final String REQUEST_URL ="request_url";

    public static final String USERNAME ="username";

    public static final String CREATE_TIME ="create_time";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HontLog{" +
                ", id=" + id +
                ", costTime=" + costTime +
                ", ip=" + ip +
                ", ipInfo=" + ipInfo +
                ", logType=" + logType +
                ", name=" + name +
                ", requestParam=" + requestParam +
                ", requestType=" + requestType +
                ", requestUrl=" + requestUrl +
                ", username=" + username +
                ", createTime=" + createTime +
        "}";
        }
        }
